package T01_test_all.test08_List;
import java.util.Scanner;

public class CarText {
    public static void main(String[] args) {

        Car[] cc = new Car[3];
        Scanner s = new Scanner(System.in);
        for (int i = 0; i < cc.length; i++) {
            Car c = new Car();
            String brand = s.next();
            c.setBrand(brand);
            double price = s.nextInt();
            c.setPrice(price);
            String color = s.next();
            c.setColor(color);
            cc[i] = c;
        }
        for (int j = 0; j < cc.length; j++) {
            Car car = cc[j];
            System.out.println(car.getBrand()+ " " + car.getPrice()+ " " + car.getColor());
        }

    }
}
